package com.gsy.exception;

import java.text.MessageFormat;

/**
* @author hthuang
* @createDate 2018年4月26日 下午5:25:32
* 令牌过期
*/
public class TokenExpireException extends RuntimeException {

	private static final long serialVersionUID = -178266691817403588L;
	
	public TokenExpireException() {
	}


	public TokenExpireException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public TokenExpireException(String message, Throwable cause) {
		super(message, cause);
	}
	

	/**
	 * 使用MessageFormat.format格式化
	 */
	public TokenExpireException(String pattern, Object... arguments) {
		this(MessageFormat.format(pattern, arguments));
	}

	public TokenExpireException(String message) {
		super(message);
	}

	public TokenExpireException(Throwable cause) {
		super(cause);
	}

}
